package com.hypo.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "nursing_project")
public class NursingProject {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;  //编号
    private String name;  //名称
    @TableField(value = "order_no")
    private Integer orderNo;  //排序号
    private String unit;  //单位
    private BigDecimal price;  //价格
    private String image;  //图片
    @TableField(value = "nursing_requirement")
    private String nursingRequirement;  //护理要求
    private Integer status;  //状态（0：禁用，1：启用）
    @TableField(value = "create_by")
    private String createBy;  //创建人
    @TableField(value = "update_by")
    private String updateBy;  //更新人
    private String remark;  //备注
    @TableField(value = "create_time")
    private LocalDateTime createTime;  //创建时间
    @TableField(value = "update_time")
    private LocalDateTime updateTime;  //更新时间
    @TableLogic(value = "0", delval = "1")
    private Integer deleted;  //逻辑删除 0未删除 1删除
}


